package com.gr.blog.utils.transfer;

import com.gr.blog.utils.Constants.Meaning;


/**
 * 转义的实体类
 * @author:巩斌鹏
 * 2018年6月12日 下午5:58:33
 */
public class FieldItem{

	private String id;
	
	private Meaning fieldType;//类型
	
	private String fieldName;//字段名
	
	private String filedKey;//要转义的字段
	
	private String dispalyText;//转义之后显示的字段
	
	private String tableorFlag;//特殊字段或者

	public FieldItem(Meaning fieldType, String fieldName, String filedKey,
			String dispalyText, String tableorFlag) {
		super();
		this.fieldType = fieldType;
		this.fieldName = fieldName;
		this.filedKey = filedKey;
		this.dispalyText = dispalyText;
		this.tableorFlag = tableorFlag;
	}

	public FieldItem(Meaning fieldType, String fieldName, String filedKey,
			String dispalyText) {
		super();
		this.fieldType = fieldType;
		this.fieldName = fieldName;
		this.filedKey = filedKey;
		this.dispalyText = dispalyText;
	}

	public FieldItem(Meaning fieldType, String filedKey, String dispalyText) {
		super();
		this.fieldType = fieldType;
		this.filedKey = filedKey;
		this.dispalyText = dispalyText;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Meaning getFieldType() {
		return fieldType;
	}

	public void setFieldType(Meaning fieldType) {
		this.fieldType = fieldType;
	}

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public String getFiledKey() {
		return filedKey;
	}

	public void setFiledKey(String filedKey) {
		this.filedKey = filedKey;
	}

	public String getDispalyText() {
		return dispalyText;
	}

	public void setDispalyText(String dispalyText) {
		this.dispalyText = dispalyText;
	}

	public String getTableorFlag() {
		return tableorFlag;
	}

	public void setTableorFlag(String tableorFlag) {
		this.tableorFlag = tableorFlag;
	}
}
